package trend;
/* @Date 03 March 2008
 * @Author Hussein Patwa
 * Class to define the spatial object type with 3 fields
 */

@SuppressWarnings("all")
public class Spatialobject {

	double x; // hold the x co-ordinate
	double y; // hold the y co-ordinate
	double v; // hold the value
	
        public Spatialobject(){
            
        }
        
        public Spatialobject(double X, double Y, Double V){
            this.x = X;
            this.y = Y;
            this.v = V;
        }
        
        public double getX(){
            return x;
        }
        
        public void setX(double X){
            this.x=X;
        }
        
        public double getY(){
            return y;
        }
        
        public void setY(double Y){
            this.y=Y;
        }
        
        public double getV(){
            return v;
        }
        
        public void setV(double V){
            this.v=V;
        }
		
        public void showspatialObject(){
            System.out.println("x :"+x+" y :"+y+" v :"+v);
        }
}